package com.zuo.mapper;

import com.zuo.entity.Pos;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 白白旧维
 * @Date 2022/3/2 18:22
 */
public interface PositionMapper {

    List<Pos> listPosition();

    List<Pos> searchPosition(@Param("pname") String pname);

    Pos getOne(int id);

    int updatePosition(Pos pos);

    int removePosition(int id);

    int addPosition(Pos pos);

}
